<div id="slider">
    <?php
    $block_slider = (block_slider != '') ? json_decode(block_slider) : array();
    foreach($block_slider as $slide):
        $url = isset($slide->image->url) ? $slide->image->url : '#';
        ?>
        <img src="<?php echo $url;?>" alt="<?php echo $slide->title?>" title="" width="1360" height="640"/>
    <?php endforeach;?>
</div>